//
//  AutoReadingToolBar.h
//  ebook
//
//  Created by mt on 16/10/24.
//  Copyright © 2016年 Moton. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReaderConfig.h"

@class AutoScrollReadingToolBar;
@protocol AutoScrollReadingToolBarDelegate <NSObject>

//减速 加速 按钮 代理
- (void)autoScrollReadingToolBar:(AutoScrollReadingToolBar *)toolBar currentSpeed:(NSInteger)speed;
//停止自动阅读 代理
- (void)autoScrollReadingToolBar:(AutoScrollReadingToolBar *)toolBar stopBtnClick:(UIButton *)btn;

@end

@interface AutoScrollReadingToolBar : UIView

@property (nonatomic,assign) BOOL isNight;

@property(nonatomic, weak) id<AutoScrollReadingToolBarDelegate>delegate;

- (void)showOnView:(UIView *)view;
- (void)hide;

@end
